package com.huilang.demo1;

/**
 * 指挥者类
 */
public class Director {
    private Biulder biulder;

    public Director(Biulder biulder) {
        this.biulder = biulder;
    }
    public Bike construct() {
        biulder.biuddFrame();
        biulder.biuldSeat();
        return biulder.createBike();
    }
}
